package com.itheima.mapper;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingMapper {
    int queryOrderSetting(OrderSetting orderSetting);

    void updateOrderSetting(OrderSetting orderSetting);

    void importOrderSetting(OrderSetting orderSetting);

    List<Map<String, String>> queryAllOrderSetting(@Param("date") String date);


    void addReservationsByDate(Date orderDate);
}
